package com.victualler.core.config.permission.service;

import com.victualler.core.base.service.BaseService;
import com.victualler.core.config.permission.dto.request.RolePermisisonSaveRequestDto;
import com.victualler.core.config.permission.entity.RolePermissionInfoDao;
import com.victualler.core.config.permission.repository.RolePermissionInfoQueryRepository;
import com.victualler.core.config.permission.repository.RolePermissionInfoRepository;
import org.springframework.web.bind.annotation.RequestBody;


/**
 * @author: Guoshichang
 * @discription:
 */
public interface RolePermissionInfoService extends BaseService<RolePermissionInfoDao, RolePermissionInfoRepository,RolePermissionInfoQueryRepository>{

    /**
     * @author Guoshichang
     * @since 21:46 on 2018/9/9.
     * @param rolePermisisonSaveRequestDto
     * @Function  保存角色的权限列表
     */
    public void savePermissionsByRoleId(@RequestBody RolePermisisonSaveRequestDto rolePermisisonSaveRequestDto);
}
